import service from '@/utils/request'
// @Tags A类别设置
// @Summary 创建类别设置
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.A类别设置 true "创建类别设置"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /leibieshezhi/createA类别设置 [post]
export const createA类别设置 = (data) => {
  return service({
    url: '/leibieshezhi/createA类别设置',
    method: 'post',
    data
  })
}

// @Tags A类别设置
// @Summary 删除类别设置
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.A类别设置 true "删除类别设置"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /leibieshezhi/deleteA类别设置 [delete]
export const deleteA类别设置 = (params) => {
  return service({
    url: '/leibieshezhi/deleteA类别设置',
    method: 'delete',
    params
  })
}

// @Tags A类别设置
// @Summary 批量删除类别设置
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除类别设置"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /leibieshezhi/deleteA类别设置 [delete]
export const deleteA类别设置ByIds = (params) => {
  return service({
    url: '/leibieshezhi/deleteA类别设置ByIds',
    method: 'delete',
    params
  })
}

// @Tags A类别设置
// @Summary 更新类别设置
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.A类别设置 true "更新类别设置"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /leibieshezhi/updateA类别设置 [put]
export const updateA类别设置 = (data) => {
  return service({
    url: '/leibieshezhi/updateA类别设置',
    method: 'put',
    data
  })
}

// @Tags A类别设置
// @Summary 用id查询类别设置
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.A类别设置 true "用id查询类别设置"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /leibieshezhi/findA类别设置 [get]
export const findA类别设置 = (params) => {
  return service({
    url: '/leibieshezhi/findA类别设置',
    method: 'get',
    params
  })
}

// @Tags A类别设置
// @Summary 分页获取类别设置列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取类别设置列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /leibieshezhi/getA类别设置List [get]
export const getA类别设置List = (params) => {
  return service({
    url: '/leibieshezhi/getA类别设置List',
    method: 'get',
    params
  })
}
// @Tags A类别设置
// @Summary 获取数据源
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /leibieshezhi/findA类别设置DataSource [get]
export const getA类别设置DataSource = () => {
  return service({
    url: '/leibieshezhi/getA类别设置DataSource',
    method: 'get',
  })
}
// @Tags A类别设置
// @Summary 不需要鉴权的类别设置接口
// @accept application/json
// @Produce application/json
// @Param data query request.A类别设置Search true "分页获取类别设置列表"
// @Success 200 {object} response.Response{data=object,msg=string} "获取成功"
// @Router /leibieshezhi/getA类别设置Public [get]
export const getA类别设置Public = () => {
  return service({
    url: '/leibieshezhi/getA类别设置Public',
    method: 'get',
  })
}